package com.qc

class Builds {
    Date dateCreated
    String projectName
    static hasMany = [reports: Reports]
    static constraints = {
        dateCreated(nullable: true)
        projectName(nullable: true)
        reports(nullable: true)
    }

    @Override
    public String toString() {
        dateCreated.format("MMM dd, H:mm")
    }
}
